package tarenaemployeemanagementsystem;

public class EmployeeTest {
    public static void main(String[] args) {
        DirectorOfTeachingAndResearch directorOfTeachingAndResearch =
                new DirectorOfTeachingAndResearch("张三", 34, 40000.0);
        directorOfTeachingAndResearch.completeTheWork();
        directorOfTeachingAndResearch.trainEmployees();
        directorOfTeachingAndResearch.editBooks();
        directorOfTeachingAndResearch.solveBusinessProblems();
        directorOfTeachingAndResearch.clockInForWork();
        directorOfTeachingAndResearch.clockOutFromWork();
        System.out.println(directorOfTeachingAndResearch.name);
        System.out.println(directorOfTeachingAndResearch.age);
        System.out.println(directorOfTeachingAndResearch.salary);

        Lecturer lecturer = new Lecturer("李四", 26, 20000.0);
        lecturer.completeTheWork();
        lecturer.trainEmployees();
        lecturer.editBooks();
        lecturer.solveBusinessProblems();
        lecturer.clockInForWork();
        lecturer.clockOutFromWork();

        ProjectManager projectManager = new ProjectManager("王五",
                30, 16000.0);
        projectManager.completeTheWork();
        projectManager.clockInForWork();
        projectManager.editBooks();
        projectManager.clockOutFromWork();

        HeadTeacher headTeacher = new HeadTeacher("赵六", 24, 14000.0);
        headTeacher.completeTheWork();
        headTeacher.clockInForWork();
        headTeacher.clockOutFromWork();
    }
}
